<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录成功</title>
</head>
<body>
</body>
<script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>

<script th:inline="javascript">
    //设置token cookie
    var token = [[${token}]];
    $.cookie("token",token)
    console.log("login sucess:token：" + token)
    window.location = '/index?token=' +  token;
</script>
</html>
